/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package data.xml_persistence.model;

/**
 *
 * @author ded_end
 */
public class DataModel {

    private AirlineList airlineList;
    private AirplaneList airplaneList;
    private AirportList airportList;
    private FlightList flightList;
    private PlaceList placeList;
    private RouteList routeList;

    public AirlineList getAirlines() {
        return airlineList;
    }

    public void setAirlines(AirlineList airlineList) {
        this.airlineList = airlineList;
    }

    public AirplaneList getAirplanes() {
        return airplaneList;
    }

    public void setAirplanes(AirplaneList airplaneList) {
        this.airplaneList = airplaneList;
    }

    public AirportList getAirports() {
        return airportList;
    }

    public void setAirports(AirportList airportList) {
        this.airportList = airportList;
    }

    public FlightList getFlights() {
        return flightList;
    }

    public void setFlights(FlightList flightList) {
        this.flightList = flightList;
    }

    public PlaceList getPlaces() {
        return placeList;
    }

    public void setPlaces(PlaceList placeList) {
        this.placeList = placeList;
    }

    public RouteList getRoutes() {
        return routeList;
    }

    public void setRoutes(RouteList routeList) {
        this.routeList = routeList;
    }

    @Override
    public String toString() {
        return "DataModel{" + "airlineList=" + airlineList + ", airplaneList=" + airplaneList + ", airportList=" + airportList + ", flightList=" + flightList + ", placeList=" + placeList + ", routeList=" + routeList + '}';
    }
}
